<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/','WelcomeController@index');
Route::get('sendmail','Sendmail\SendmailController@index');
Route::get('sendmail/content','Sendmail\SendmailController@content');
Route::any('sendmail/book','Sendmail\SendmailController@book');
Route::get('sendmail/list','Sendmail\SendmailController@list');
Route::get('sendmail/news_list','Sendmail\SendmailController@news_list');
Route::get('sendmail/pro_detail','Sendmail\SendmailController@pro_detail');


Route::any('back','Back\BackController@index');
Route::any('back/userlist','Back\BackController@userlist');
Route::any('back/adduser','Back\BackController@adduser');
Route::any('back/addadmin','Back\BackController@addadmin');
Route::any('back/rights','Back\BackController@rights');